<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CONTROLLER_VIEW__/css/index.css"/>
		<script src="__STATIC__/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__CONTROLLER_VIEW__/js/index.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!--头部begin-->
		<include file='__VIEW__/Common/header.html'/>
		
		<!--产品焦点区begin-->
		<div id="focus">
			<div class="focus_content">
				<div class="left">
					<div class="img">
						<list from="$roll" name="$v" row="5">
						<a href="{$v.path}" class="a_img"><img src="__ROOT__/{$v.picture}" alt="" /></a>
						</list>
						<list from="$roll" name="$v" row="1">
						<a href="{$v.path}" class="a_img"><img src="__ROOT__/{$v.picture}" alt="" /></a>
						</list>
					</div>
					<div class="arrows_left"><span><</span></div>
					<div class="arrows_right"><span>></span></div>
				</div>
				<?php if(!isset($_SESSION['username'])):  ?>
				<div class="right">
					<img src="__CONTROLLER_VIEW__/images/kafei.png" alt="" />
					<p>随时随地狂想去</p>
				</div>
				<?php else:  ?>
				<!--登录用户信息-->
				<div class="right right2">
					<a href="" class="r_face"><img src="__ROOT__/{$face}" alt="" /></a>
					<span class='r_h'>Hi</span>
					<a href="{|U:'Index/Orders/myOrder'}" class="r_name"><span>{$hd.session.nick}</span></a>
					<a href="{|U:'Index/Orders/myOrder',array('os'=>2)}" class="r_s">待收货&nbsp;&nbsp;&nbsp;&nbsp;<span>{$orders2}</span></a>
					<a href="{|U:'Index/Orders/myOrder',array('os'=>0)}" class="r_f">待付款&nbsp;&nbsp;&nbsp;&nbsp;<span>{$orders0}</span></a>
					<a href="{|U:'Index/User/index'}" class="r_z">个人设置</a>
					<a href="{|U:('out')}" class="r_t">退出</a>
					<div class="logo"><img src="__CONTROLLER_VIEW__/images/logo.png"/></div>
				</div>
				<!--登录用户信息-->
				<?php endif  ?>
			</div>
		</div>
		<!--产品轮焦点区end-->
		<!--分类区begin-->
		<div id="channel">
			<div class="channel_cont">
				<div class="channel_top">
					<div class="c_left">
						<p class="p1">今天,<br/>想去诞生了</p>
						<p class="p2">{$count}<span>个</span></p>
						<p class="p3">精选商品</p>
					</div>
					<div class="c_right">
						<p class="des">这里熙熙攘攘，你，又会遇见谁创造的美好</p>
						<ul>
							<foreach from="$cateData" key="$k" value="$v">
							<li><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}"><span class="cont">{$v.cname}</span></a><if value="$k!=6"><span class="slant"></span></if></li>
							</foreach>
						</u>
					</div>
				</div>
				<div class="channel_time">
					<div class="c_time">{|date:'Y-m-d',@@}</div>
					<!--<div class="c_run">
						<ul>
							<li>935人在逛</li>
							<li>935人在逛</li>
						</ul>
					</div>-->
				</div>
			</div>
		</div>
		<!--分类器end-->
		<!--页面主体begin-->
		<div id="main">
			<!--想去限时购begin-->
			<div class="limit">
				<div class="l_bar">想去限时购</div>
				<div class="l_cont">
					<foreach from="$hotData" key="$k" value="$v">
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" <if value="$k eq 1">style="margin-right:0px"</if>><img src="__ROOT__/{$v.bigpic}" alt="" /></a>
					</foreach>
				</div>
			</div>
			<!--想去限时购end-->
			<!--女人广场begin-->
			<div class="product">
				<div class="p_bar">
					<h2>女人广场</h2><span class="s1"></span></span><span class="s2">今日精选</span><span class="s3"></span>
				</div>
				<div class="p_cont">
					<foreach from="$womenData" key="$k" value="$v">
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="a_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
					</foreach>
				</div>
				<!--产品分类begin-->
				<div class="p_class">
					<foreach from="$wenmanCate" key="$k" value="$v">
					<dl>
						<dt><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></dt>
						<dd>
							<list from="$v['son']" name="$n" row="3">
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
						<dd>
							<list from="$v['son']" name="$n" row="3" start="4" >
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
					</dl>
					</foreach>
					<!--<dl>
						<dt><a href="">女鞋</a></dt>
						<dd>
							<a href="">背包</a>
							<a href="">挎包</a>
						</dd>
						<dd>
							<a href="">抓包</a>
							<a href="">拎包</a>
						</dd>
					</dl>-->
					<div class="all">
						<a href="{|U:'Index/List/allCate'}">全部</a>
					</div>
				</div>
				<!--产品分类end-->
				<div class="line"></div>
			</div>
			<!--女人广场end-->
			<!--男人广场begin-->
			<div class="productman product">
				<div class="p_bar">
					<h2>男人广场</h2><span class="s1"></span></span><span class="s2">今日精选</span><span class="s3"></span>
				</div>
				<div class="p_cont">
					<list from="$manData" name="$v" row='2'>
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="a_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
					</list>
					<div class="d_img">
						<list from="$manData" name="$v" row='2' start="2">
						<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="m_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
						</list>
					</div>
				</div>
				<!--产品分类begin-->
				<div class="p_class">
					<foreach from="$manCate" key="$k" value="$v">
					<dl>
						<dt><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></dt>
						<dd>
							<list from="$v['son']" name="$n" row="3">
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
						<dd>
							<list from="$v['son']" name="$n" row="3" start="4" >
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
					</dl>
					</foreach>
					<div class="all">
						<a href="{|U:'Index/List/allCate'}">全部</a>
					</div>
				</div>
				<!--产品分类end-->
				<div class="line"></div>
			</div>
			<!--男人广场end-->
			<!--生活家广场begin-->
			<div class="productlive product">
				<div class="p_bar">
					<h2>生活家广场</h2><span class="s1"></span></span><span class="s2">今日精选</span><span class="s3"></span>
				</div>
				<div class="p_cont">
					<foreach from="$lifeData" key="$k" value="$v">
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="a_img l_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
					</foreach>
				</div>
				<!--产品分类begin-->
				<div class="p_class">
					<foreach from="$lifeCate" key="$k" value="$v">
					<dl>
						<dt><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></dt>
						<dd>
							<list from="$v['son']" name="$n" row="2">
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
						<dd>
							<list from="$v['son']" name="$n" row="2" start="3" >
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
					</dl>
					</foreach>
					<div class="all">
						<a href="{|U:'Index/List/allCate'}">全部</a>
					</div>
				</div>
				<!--产品分类end-->
				<div class="line"></div>
			</div>
			<!--生活家广场end-->
			<!--手工作坊begin-->
			<div class="productlive product">
				<div class="p_bar">
					<h2>手工作坊</h2><span class="s1"></span></span><span class="s2">今日精选</span><span class="s3"></span>
				</div>
				<div class="p_cont">
					<foreach from="$handData" key="$k" value="$v">
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="a_img l_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
					</foreach>
				</div>
				<!--产品分类begin-->
				<div class="p_class">
					<foreach from="$handCate" key="$k" value="$v">
					<dl>
						<dt><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></dt>
						<dd>
							<list from="$v['son']" name="$n" row="2">
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
						<dd>
							<list from="$v['son']" name="$n" row="2" start="3" >
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
					</dl>
					</foreach>
					<div class="all">
						<a href="{|U:'Index/List/allCate'}">全部</a>
					</div>
				</div>
				<!--产品分类end-->
				<div class="line"></div>
			</div>
			<!--手工作坊end-->
			<!--vintage小铺begin-->
			<div class="productman product">
				<div class="p_bar">
					<h2>vintage小铺</h2><span class="s1"></span></span><span class="s2">今日精选</span><span class="s3"></span>
				</div>
				<div class="p_cont">
					<list from="$vinData" name="$v" row='2'>
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="a_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
					</list>
					<div class="d_img">
						<list from="$vinData" name="$v" row='2' start="2">
						<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="m_img"><img src="__ROOT__/{$v.bigpic}" alt="" /><span>{$v.cname}</span></a>
						</list>
					</div>
				</div>
				<!--产品分类begin-->
				<div class="p_class">
					<foreach from="$vinCate" key="$k" value="$v">
					<dl>
						<dt><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></dt>
						<dd>
							<list from="$v['son']" name="$n" row="2">
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
						<dd>
							<list from="$v['son']" name="$n" row="2" start="2" >
							<a href="{|U:'Index/List/index',array('cid'=>$n[cid])}">{$n.cname}</a>
							</list>
						</dd>
					</dl>
					</foreach>
					<div class="all">
						<a href="{|U:'Index/List/allCate'}">全部</a>
					</div>
				</div>
				<!--产品分类end-->
				<div class="line"></div>
			</div>
			<!--vintage广场end-->
		</div>
		<!--页面主体end-->
		<!--页面底部begin-->
		<div id="footer">
			<div class="foot_wrap">
				<div class="say">
					<p class="p1">“如果你的东西和大家都一样，那干嘛还设计它？”</p>
					<p class="p2">by  Philippe Starck</p>
				</div>
				<div class="foot_logo"></div>
				<p class='infor'>Copyright 2015 版权所有 浙ICP备12027496 <a href="">热门精选</a> <a href="">热门分类</a></p>
				<p class='link'>商务合作  友情链接： 想去网  蘑菇街 360安全网址 爱图购</p>
			</div>
		</div>
		<!--页面底部end-->
	</body>
</html>
